package com.jinmdz.fmis.mapper.entity;

import com.jinmdz.fmis.mapper.annotation.MyColumn;
import com.jinmdz.fmis.mapper.annotation.MyTable;
import com.jinmdz.fmis.mapper.base.BaseEntity;


/**
 * 服务字典关联表Entity
 *
 * @author generator
 * @date 2020-03-12 17:08
 */
@MyTable(value = "ServiceDictionaryItemEntity", name = "service_dictionary_item", comment = "服务字典关联表")
public class ServiceDictionaryItemEntity extends BaseEntity {
    /**
     * 数据字典外键
     */
    @MyColumn(value = "dataDictionaryId", name = "data_dictionary_id", comment = "数据字典外键", required = true)
    private Integer dataDictionaryId;

    /**
     * 服务项目外键
     */
    @MyColumn(value = "serviceItemId", name = "service_item_id", comment = "服务项目外键", required = true)
    private Integer serviceItemId;

    /**
     * 用途
     */
    @MyColumn(value = "purpose", name = "purpose", comment = "用途", required = true)
    private String purpose;

    /**
     * 规则编码
     */
    @MyColumn(value = "ruleCode", name = "rule_code", comment = "规则编码", required = true)
    private String ruleCode;

    /**
     * 规则类型
     */
    @MyColumn(value = "ruleType", name = "rule_type", comment = "规则类型", required = true)
    private String ruleType;

    /**
     * 计算规则描述
     */
    @MyColumn(value = "ruleDescribe", name = "rule_describe", comment = "计算规则描述")
    private String ruleDescribe;

    /**
     * 计算规则中固化参数
     */
    @MyColumn(value = "ruleParams", name = "rule_params", comment = "计算规则中固化参数", required = true)
    private String ruleParams;


    public Integer getDataDictionaryId() {
        return dataDictionaryId;
    }

    public ServiceDictionaryItemEntity setDataDictionaryId(Integer dataDictionaryId) {
        this.dataDictionaryId = dataDictionaryId;
        return this;
    }

    public Integer getServiceItemId() {
        return serviceItemId;
    }

    public ServiceDictionaryItemEntity setServiceItemId(Integer serviceItemId) {
        this.serviceItemId = serviceItemId;
        return this;
    }

    public String getPurpose() {
        return purpose;
    }

    public ServiceDictionaryItemEntity setPurpose(String purpose) {
        this.purpose = purpose;
        return this;
    }

    public String getRuleCode() {
        return ruleCode;
    }

    public ServiceDictionaryItemEntity setRuleCode(String ruleCode) {
        this.ruleCode = ruleCode;
        return this;
    }

    public String getRuleType() {
        return ruleType;
    }

    public ServiceDictionaryItemEntity setRuleType(String ruleType) {
        this.ruleType = ruleType;
        return this;
    }

    public String getRuleDescribe() {
        return ruleDescribe;
    }

    public ServiceDictionaryItemEntity setRuleDescribe(String ruleDescribe) {
        this.ruleDescribe = ruleDescribe;
        return this;
    }

    public String getRuleParams() {
        return ruleParams;
    }

    public ServiceDictionaryItemEntity setRuleParams(String ruleParams) {
        this.ruleParams = ruleParams;
        return this;
    }
}